package com.subang.function.mapper;

import java.util.List;
import com.subang.function.domain.SbTeacher;

/**
 * 讲师Mapper接口
 * 
 * @author subei
 * @date 2025-03-13
 */
public interface SbTeacherMapper 
{
    /**
     * 查询讲师
     * 
     * @param teacherId 讲师主键
     * @return 讲师
     */
    public SbTeacher selectSbTeacherByTeacherId(Long teacherId);

    /**
     * 查询讲师列表
     * 
     * @param sbTeacher 讲师
     * @return 讲师集合
     */
    public List<SbTeacher> selectSbTeacherList(SbTeacher sbTeacher);

    /**
     * 新增讲师
     * 
     * @param sbTeacher 讲师
     * @return 结果
     */
    public int insertSbTeacher(SbTeacher sbTeacher);

    /**
     * 修改讲师
     * 
     * @param sbTeacher 讲师
     * @return 结果
     */
    public int updateSbTeacher(SbTeacher sbTeacher);

    /**
     * 删除讲师
     * 
     * @param teacherId 讲师主键
     * @return 结果
     */
    public int deleteSbTeacherByTeacherId(Long teacherId);

    /**
     * 批量删除讲师
     * 
     * @param teacherIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSbTeacherByTeacherIds(Long[] teacherIds);
}
